#ifndef __SALT_DRAWABLEEVENTOBJECT_H
#define __SALT_DRAWABLEEVENTOBJECT_H
#include "SALT_Config.h"

#include "SDL/SDL.h"

#include "Points.h"
#include "SALT_Object.h"
#include "SALT_Graphics.h"

namespace SALT{
	namespace Objects{
		class DrawableObject:public Object{
		protected:
			//in relation to container
			Point		_position;
			Point		_origin;
		public:
			DrawableObject			();
			~DrawableObject			();
			Point&		position	();
			Point&		origin		();
			virtual int	draw		(Graphics::SDLGraphicsManager* gm)=0;
			virtual int	update		()=0;
		};
		class EventObject:public Object{
		public:
			EventObject				();
			~EventObject			();
			virtual int	handleEvent	(SDL_Event* ev)=0;
		};
	};
};
#endif